/*
 * yunrong.cn Inc. Copyright (c) 2014-2021 All Rights Reserved
 */

package com.bo.wei.chen.mybatis.groovy

/**
 * TODO
 *
 * @author yrchenwb25485@yunrong.cn
 * @version V2.1* @since 2021/2/23 4:45 下午
 */
class test {
    static void main(String[] args) {
        print("hello groovy!")
        def a = 5;
        int b = 12;
        println (a);
        println(b)


        def range = 0.3 .. 50;
        println(range);
        int i = 0;
        println(range.last());
        while (range.get(i) < range.last()) {
            println(range.get(i));
            i++;
        }
        println("*********************")
        for (int j;j<100;j++) {
            println(j);
        }

        for ( k in range) {
            println(k)
        }

    }
}
